package com.itrh.org.service;

import com.itrh.auth.dto.LoginDTO;
import com.itrh.base.service.IBaseService;
import com.itrh.org.domain.Department;
import com.itrh.org.domain.Employee;
import com.itrh.org.query.DepartmentQuery;
import com.itrh.org.query.EmployeeQuery;
import com.itrh.org.util.Result;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;

/**
 * InterfaceName: IEmployeeService
 *
 * @author XHU_WHY
 * @version V1.0
 * @since 2024/4/2 16:41
 */
public interface IEmployeeService extends IBaseService<Employee> {
    Result login(LoginDTO loginDTO);

    void importEmployee(MultipartFile file, HttpServletResponse response) throws Exception;

    void exportEmployee(String name, HttpServletResponse response) throws IOException;
}
